<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>华为账号登录</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        .login-container {
            width: 360px;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .login-container h2 {
            color: #333;
            margin-bottom: 20px;
        }

        .login-container form {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .login-container input[type="text"],
        .login-container input[type="password"],
        .login-container input[type="submit"] {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            box-sizing: border-box; /* 确保宽度一致 */
        }

        .login-container input[type="submit"] {
            border: none;
            background-color: #007aff;
            color: #fff;
            cursor: pointer;
        }

        .login-container input[type="submit"]:hover {
            background-color: #0064d8;
        }

        .login-container p {
            margin-top: 10px;
        }

        .login-container p a {
            color: #007aff;
            text-decoration: none;
            margin: 0 10px;
        }

        .login-container p a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div class="login-container">
        <h2>华为账号登录</h2>
        <form action="">
            <input type="text" name="username" placeholder="手机号/邮件地址/账号名">
            <input type="password" name="userpwd" placeholder="密码">
            <input type="submit" value="登录">
        </form>
        <p>
            <a href="#">注册</a>
            <a href="#">忘记密码</a>
        </p>
    </div>
</body>
</html>